<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    String ctx = request.getContextPath();
    request.setAttribute("ctx", ctx);
%>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap</title>
    <link rel="stylesheet" href="${ctx}/bootstrap/bootstrap.css">

</head>
<body>
<div class="container" style="margin-bottom:20px;margin-top:20px">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <ul class="nav nav-tabs">
                <li class="${dqpage eq 'brand' ? 'active' : ''}">
                    <a href="${ctx}/brand.do">添加品牌</a>
                </li>
                <li class="${dqpage eq 'addShop' ? 'active' : ''}">
                    <a href="${ctx}/addShop.do">添加商品</a>
                </li>
                <li class="${dqpage eq 'shoplist' ? 'active' : ''}">
                    <a href="${ctx}/shoplist.do">商品列表</a>
                </li>
                <li class="pull-right ${dqpage eq 'mycar' ? 'active' : ''}">
                    <a href="${ctx}/mycar.do">购物车</a>
                </li>
            </ul>
        </div>
    </div>
</div>

<script src="${ctx}/bootstrap/jquery-1.9.1.min.js"></script>
<script src="${ctx}/bootstrap/bootstrap.js"></script>
</body>
</html>